package portal.monitor.dao.mapper;

import org.apache.ibatis.annotations.Param;
import portal.monitor.dao.MonitorPattern;

import java.util.List;

public interface MonitorPatternMapper {

    int insert(MonitorPattern record);

    int deleteByPrimaryKey(Integer patternId);

    int updateByPrimaryKey(MonitorPattern record);

    MonitorPattern selectByPrimaryKey(Integer patternId);

    List<MonitorPattern> selectByPage(@Param("currentPosition") Integer currentPage, @Param("onePageCount") Integer onePageCount);
    
    List<MonitorPattern> selectAll();

    
    int patternNum();
}